package cn.kgc.entity;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class Emp implements Serializable {
    private  Integer id;
    private  String name;
    private  String sex;
    private Integer age;
    private String idType;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthday;
}
